﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Edit : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["usergroup"].ToString() == "student")
        {
            Response.Redirect("Sedit.aspx");
        }
        else
        {
            Response.Redirect("Eedit.aspx");
        }
    }
}